/**
 * 
 */
package cn.dgfy.MyBatisStudy.dao;

import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import cn.dgfy.MyBatisStudy.bean.Major;

/**
 * @author Tearfalls
 *
 */
public interface MajorMapper {
	@Select("SELECT * FROM major WHERE id = #{id}")
	@ResultType(Major.class)
	public Major getById(Integer id);
}
